package com.didi.gulimall.common.constant;

/**
 * @author 10626
 */
public class MemberConstant {
    public static final Integer USED = 1;

    public static final Integer DISABLE = 0;

    public static final Integer LOCKING = 1;
    public static final Integer UNLOCK = 2;

    public static final Integer GROWTH_VALUE = 1;
    public static final Integer INTEGRATION = 2;

    public static final Integer SHOPPING_SOURCE = 0;
    public static final Integer MODIFIED_BY_ADMINISTRATOR = 1;

    public static final Integer UNDELETE = 0;
    public static final Integer DELETE = 1;

    public static final String GROWTH_VALUE_ADD_NOTE = "购物返现增加";
    public static final String INTEGRATION_ADD_NOTE = "购物返现增加";
    public static final String GROWTH_VALUE_SUBJECT_NOTE = "购物返现使用";
    public static final String INTEGRATION_SUBJECT_NOTE = "购物返现使用";

    public static final String WEIBO_GENDER_MALE = "m";

    public static final Integer DEFAULT_GROWTH_VALUE = 0;

    public static final Integer DEFAULT_INTEGRATION = 0;

    public enum UserSource {
        /**
         *
         */
        WEBSITE_REGISTRATION(0, "网站注册"),
        WECHAT_LOGIN(1, "微信登录"),
        QQ_LOGIN(2, "QQ登录"),
        WEIBO_LOGIN(3, "微博登录");
        private Integer code;
        private String msg;

        UserSource(Integer code, String msg) {
            this.code = code;
            this.msg = msg;
        }

        public Integer getCode() {
            return code;
        }

        public String getMsg() {
            return msg;
        }
    }

}
